projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463d75a
)
Fix typo in c/s 20158:f9ce5858.
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Sep 2009 14:34:37 +0000
(15:34 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Sep 2009 14:34:37 +0000
(15:34 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 4cc204b18843946516d98ceb9f136f3c86dfdd31..249a62b667e01f3af23120fc4d8e41bb037f08a3 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-3011,7
+3011,7
@@
class XendDomainInfo:
fn = blkdev_uname_to_file(disk)
# If this is a drbd volume, check if we need to activate it
- if disk
type
.find(":") != -1:
+ if disk.find(":") != -1:
(disktype, diskname) = disk.split(':', 1)
if disktype == 'drbd':
(drbdadmstdin, drbdadmstdout) = os.popen2(["/sbin/drbdadm", "state", diskname])